package com.dao;

import com.domain.Traveller;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * 项目名称：ssm21
 * 类 名 称：ITravellerDao
 * 类 描 述：TODO
 * 创建时间：2020-01-17 17:21
 */
public interface ITravellerDao {
    @Select("select * from traveller where id in (select travellerId from order_traveller where orderId=#{ordersId})")
    public List<Traveller> findByOrdersId(String ordersId) throws Exception;
}
